package com.pig4cloud.mall.product.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author fangyu
 * @version v1.0.0
 * @date 2020/12/7 9:31 下午
 */
/**
    * spu信息介绍
    */
@Data
@TableName("pms_spu_info_desc")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "spu信息介绍")
public class SpuInfoDesc extends Model<SpuInfoDesc> {
	private static final long serialVersionUID = 1L;
    /**
    * 商品id
    */
	@TableId(type = IdType.INPUT)
	@ApiModelProperty(value="商品id")
    private Long spuId;

    /**
    * 商品介绍
    */
	@ApiModelProperty(value="商品介绍")
	private String decript;
}